HydraBooking\Admin\Controller\PromoNotice B

Total Complexity 95
Dependencies 0
Dependents 1
Total lines 554
Lines of code 436
Logical lines of code 150
Comment lines 22
Methods 14
Properties 8

Methods 14

Method Rating Maintainability Complexity Lines of code
__construct()
C
38 33 53
render_dashboard_notice_widget()
C
29 20 189
tfhb_promo_side_notice_callback()
A
44 10 51
tf_promo_dashboard_admin_notice()
A
43 9 57
tfhb_get_api_response()
S
51 5 25
tf_black_friday_notice_dismiss_callback()
S
62 4 10
tfhb_promo_side_notice_dismiss_callback()
S
66 4 7
register_dashboard_notice_widget()
S
59 3 14
instance()
S
71 2 6
init_dashboard_notice_widget()
S
79 1 3
ajax_dashboard_widget_dismiss()
S
75 1 4
tfhb_custom_cron_interval()
S
69 1 7
tfhb_promo__schedule_callback()
S
82 1 3
tfhb_promo_notice_deactivation_hook()
S
70 1 7